\label{\detokenize{longtable:longtable-having-both-stub-columns-and-problematic-cell}}

\begin{savenotes}\sphinxatlongtablestart\begin{longtable}[c]{|*{3}{\X{1}{3}|}}
\hline
\sphinxstyletheadfamily 
header1
&\sphinxstyletheadfamily 
header2
&\sphinxstyletheadfamily 
header3
\\
\hline
\endfirsthead

\multicolumn{3}{c}%
{\makebox[0pt]{\sphinxtablecontinued{\tablename\ \thetable{} \textendash{} continued from previous page}}}\\
\hline
\sphinxstyletheadfamily 
header1
&\sphinxstyletheadfamily 
header2
&\sphinxstyletheadfamily 
header3
\\
\hline
\endhead

\hline
\multicolumn{3}{r}{\makebox[0pt][r]{\sphinxtablecontinued{continues on next page}}}\\
\endfoot

\endlastfoot
\sphinxstyletheadfamily \begin{itemize}
\item {} 
instub1\sphinxhyphen{}1a

\item {} 
instub1\sphinxhyphen{}1b

\end{itemize}
&\sphinxstyletheadfamily 
instub1\sphinxhyphen{}2
&
notinstub1\sphinxhyphen{}3
\\
\hline\sphinxstyletheadfamily 
cell2\sphinxhyphen{}1
&\sphinxstyletheadfamily 
cell2\sphinxhyphen{}2
&
cell2\sphinxhyphen{}3
\\
\hline
\end{longtable}\sphinxatlongtableend\end{savenotes}
